package client;

import org.jgroups.JChannel;
import org.jgroups.Message;
import org.jgroups.ReceiverAdapter;



public class ClientMain extends TransportReceiver {
	
    static String UserName;
	static JChannel channel;
	static ClientGui fenetre;
    
  
	
    public static void main(String[] args) throws Exception {
          new ClientMain().start();
    }
	
   
    private void start()  {
        
        fenetre = new ClientGui();
    	
    	/*
    	System.setProperty("jgroups.bind_addr", "127.0.0.1" );     	
    	channel = new JChannel();
        channel.setReceiver(this);
        channel.connect("ChatCluster");  
        */     
       
       
        
    }
    

    


	public String getUserName() {
		return UserName;
	}


	public void setUserName(String userName) {
		UserName = userName;
	}


	public JChannel getChannel() {
		return channel;
	}


	public void setChannel(JChannel channel) {
		this.channel = channel;
	}

    
    

}
